Skip to content

Conversation

@alexgerardojacinto
Copy link
Collaborator

@alexgerardojacinto alexgerardojacinto commented Sep 5, 2025

Description

  • This PR expands the functionality we offer in onShowFileChooser, which is responsible for handling requests for the file chooser from the web page open in the WebView, typically for upload scenarios.
  • More specifically, on Android we now allow the user to take a photo, record a video, or select a file (photo, video, or other).
  • Note that our goal here was to achieve feature parity between Android and iOS, given that on iOS the user was already able to do all of this.

Context

References: https://outsystemsrd.atlassian.net/browse/RMET-4466

Type of changes

  • Fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Refactor (cosmetic changes)
  • Breaking change (change that would cause existing functionality to not work as expected)

Platforms affected

  • Android
  • iOS
  • JavaScript

Tests

Testing this with an app called RMET-4462 TestMob that is available on our O11 environment. It basically opens another OutSystems Reactive Web app (RMET-4462 TestReactive) using our InAppBrowser plugin's OpenInWebView feature.

Once you open the web view, you'll see the Upload Widget being used in multiple ways.

Refer to the screen recordings below to see how you can test.

  • Tested in the following devices:
    • Pixel 9 Pro XL with Android 16
    • Pixel 7 with Android 16
    • Pixel 3 XL with Android 12
    • Samsung Galaxy A80 with Android 10
    • Pixel 4 with Android 10 (emulator)

MABS 11.1 build available here

MABS 10 build available here

You can also use the following APK to test:

app-debug.apk.zip

Screenshots (if appropriate)

Uploading on Android

screen-20250905-175750-1757105826866.mp4

Uploading on iOS (for comparison)

ScreenRecording_09-05-2025.17-58-00_1.MP4

Checklist

  • Pull request title follows conventional commits format
  • Code follows code style of this project
  • CHANGELOG.md file is correctly updated
  • Changes require an update to the documentation
    • Documentation has been updated accordingly

andredestro and others added 14 commits August 14, 2025 15:44
… videos taking them with the camera, or any other files
@alexgerardojacinto alexgerardojacinto self-assigned this Sep 5, 2025
@cssecautomation
Copy link

cssecautomation commented Sep 5, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants